package com.xxxy.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xxxy.model.Reviewed;
import com.xxxy.response.ReviewedPaperProgressResponse;
import com.xxxy.response.ReviewedQuestionListResponse;
import com.xxxy.response.ReviewedQuestionProgressResponse;

import java.util.List;

/**
 * @author StevenShen
 * @date 2022/3/8 10:41
 */
public interface ReviewedService extends IService<Reviewed> {

    /**
     * 开始批阅
     *
     * @param examinationPaperId
     * @return
     */
    Boolean startReviewed(Integer examinationPaperId);

    /**
     * 获取批阅试题列表
     *
     * @param examinationPaperId
     * @return
     */
    List<ReviewedQuestionListResponse> getQuestionList(Integer examinationPaperId);

    /**
     * 获取题目进度信息
     *
     * @param examinationPaperId
     * @return
     */
    List<ReviewedQuestionProgressResponse> getQuestionProgress(Integer examinationPaperId);

    /**
     * 获取试卷进度信息
     *
     * @param examinationPaperId
     * @return
     */
    ReviewedPaperProgressResponse getReviewedProgress(Integer examinationPaperId);

}
